# not iteration
array := ["a","b"]
array_has_a if {
    array[i] == "a" # success
}
array_not_has_a if {
    array[i] != "a" # success, wrong logic
}
array_not_has_a_1 if {
    not array_has_a # failure, correct logic
}
array_not_has_a_2 if { # failure, correct logic
    every item in array
        item != "a"
}

# undefined subexpression
output1 if {
    not upper(input.no_such_field) # failure, intuitive behavior
}
output2 if {
    not input.no_such_field # success
}
helper := upper(input.no_such_field)
output3 if {
    not helper # success
}
